package org.apache.ibatis;

import jdk.nashorn.internal.objects.annotations.Constructor;
import org.apache.ibatis.annotations.*;
import org.apache.ibatis.type.MyUser;

import java.net.Inet4Address;

@Mapper
public interface UsersMapper {
  @Result(property = "age",column = "age")
  @Result(property = "name",column = "name")

  @Select(value = "select * from myuser where age=#{age} and name=#{name}")
  MyUser findUser(@Param("age")Integer age, @Param("name")String name);
}
